﻿using System.Windows.Controls;

namespace Smokey.Client.Screens.Common {

    internal partial class ConnectionStringSetup : UserControl {
        public ConnectionStringSetup() {
            InitializeComponent();
        }

        public ConnectionStringSetupViewModel ViewModel {
            get {
                return (ConnectionStringSetupViewModel)this.DataContext;
            }
        }

        private void SaveButton_Click(object sender, System.Windows.RoutedEventArgs e) {
            ViewModel.TrySaveConnectionString();
        }
    }
}
